<template>
  <div class="footer">
    <div class="ul">
      <router-link to="/home" tag="div"  class="li">
        <span class="iconfont icon-yiji-shouye"></span>
        首页
      </router-link>
      <router-link to="/category" tag="div"  class="li">
        <span class="iconfont icon-chafenlei"></span>
        分类
      </router-link>
      <router-link to="/worthbuying" tag="div" class="li">
        <span class="iconfont icon-gouwu"></span>
        值得买
      </router-link>
      <router-link to="/shoppingcart" tag="div"  class="li">
        <span class="iconfont icon-gouwuche"></span>
        购物车
      </router-link>
      <router-link to="/myhome" tag="div"  class="li">
        <span class="iconfont icon-wode"></span>
        我都书城
      </router-link>
    </div>
  </div>
</template>

<script>
export default {};
</script>

<style lang="scss" scoped>
.footer {
  .ul {
    width: 100%;
    display: flex;
    height: 100%;
    align-items: center;

    .li {
      height: 100%;
      flex: 2;
      display: flex;
      color: #4d535d;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      font-size: 12px;
      
      span {
        font-size: 22px;
      }
      
    }
    .active {
        color: #f03741;
        span {
          color: #f03741;
        }
      }
  }
  background-color: #fcfcfc;
  border-top: 1px solid #e3e3e3;
  position: fixed;
  z-index: 99;
  bottom: 0;
  left: 0;
  right: 0;
  height: 44px;
  display: -webkit-box;
  display: -webkit-flex;
  display: flex;
  -webkit-box-align: center;
  -webkit-align-items: center;
  align-items: center;
}
</style>